package com.atguigu.mp.pojo;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@NoArgsConstructor
@AllArgsConstructor
@TableName("t_user")
public class User {
    @TableId("id")
    private Long uid ;

    @TableField("name")
    private String uname ;

    @TableField("age")
    private Integer uage ;

    @TableField("email")
    private String uemail ;

    //@TableLogic(value = "0", delval = "9")
    private Integer deleted ;
}
